﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Myproject.BSM.PcWeb.PcBase
{
    public partial class slide : System.Web.UI.Page
    {
        private string indexslidename;

        public string Indexslidename
        {
            get { return indexslidename; }
            set { indexslidename = value; }
        }
        private string otherslidename;

        public string Otherslidename
        {
            get { return otherslidename; }
            set { otherslidename = value; }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                indexslidename = new Bll.SlideBLL().GetModel(int.Parse(new Bll.ConfigBLL().GetModel(1).Value)).SlideName;
            }
            catch (Exception)
            {
            }
            try
            {
                otherslidename = new Bll.SlideBLL().GetModel(int.Parse(new Bll.ConfigBLL().GetModel(2).Value)).SlideName;
            }
            catch (Exception)
            {
            }
        }
    }
}